import axios from 'axios'
class Requset {
  instance
  constructor(config) {
    this.instance = axios.create(config)
    this.instance.interceptors.request.use((config)=>{
      return config
    },error=>{
      return error
    })
    this.instance.interceptors.response.use(res=>{
      return res
    },error=>{
      return error
    })
  }
}
export default Requset
